﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="frmGeneraCodigoIndividual.aspx.cs" Inherits="UI.Secretaria.frmGeneraCodigoIndividual" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style2
        {
            width: 19px;
        }
        .style3
        {
        }
        .style5
        {
            width: 96px;
        }
        .style7
        {
            width: 32px;
        }
        .style8
        {
            width: 168px;
        }
        .style9
        {
            width: 19px;
            height: 23px;
        }
        .style10
        {
            height: 23px;
        }
        .style11
        {
            width: 32px;
            height: 23px;
        }
        .style12
        {
            width: 168px;
            height: 23px;
        }
        .style13
        {
            width: 5px;
            height: 23px;
        }
        .style14
        {
            width: 5px;
        }
        .style15
        {
            width: 96px;
            height: 23px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    
    <table class=BTabla>
    <tr>
    <td>
    <table class="style1" style="width: 99%">
        <tr>
            <td class="filaTabla" colspan="6">
                Generación de Códigos para ingresantes (Individual)</td>
        </tr>
        <tr>
            <td class="style9">
                </td>
            <td class="style15">
                </td>
            <td class="style13">
                </td>
            <td class="style11">
                </td>
            <td class="style12">
                </td>
            <td class="style10">
                </td>
        </tr>
        <tr>
            <td class="style2">
                &nbsp;</td>
            <td class="style5">
                <asp:Label ID="Label1" runat="server" Text="Semestre"></asp:Label>
            </td>
            <td class="style14">
                <asp:DropDownList ID="ddlSemestre" runat="server" Width="193px" 
                    onselectedindexchanged="ddlSemestre_SelectedIndexChanged">
                </asp:DropDownList>
            </td>
            <td class="style7">
                <asp:Label ID="Label2" runat="server" Text="Especialidad"></asp:Label>
            </td>
            <td class="style8">
                <asp:DropDownList ID="ddlEspecialidad" runat="server" Width="158px">
                </asp:DropDownList>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style2">
                &nbsp;</td>
            <td class="style5">
                <asp:Label ID="Label3" runat="server" Text="Nombre/DNI"></asp:Label>
            </td>
            <td class="style14">
                <asp:TextBox ID="txtNombre" runat="server" Width="187px"></asp:TextBox>
            </td>
            <td class="style7">
                &nbsp;</td>
            <td class="style8">
                &nbsp;</td>
            <td>
                <asp:Button ID="btnBuscar" runat="server" Height="33px" 
                    onclick="btnBuscar_Click" Text="Buscar" Width="88px" />
            </td>
        </tr>
        <tr>
            <td class="style2">
                &nbsp;</td>
            <td class="style3" colspan="4">
                <asp:Label ID="lblMensaje" runat="server" style="color: #FF0000"></asp:Label>
            </td>
            <td class="style3">
                &nbsp;</td>
        </tr>
        </table>
    </td>
    </tr>
    </table>
    

    <table style="width: 542px">
    <tr>
    <td align="center">
                <asp:GridView ID="grvIngresantes" runat="server" AutoGenerateColumns="False" 
                    Width="562px" Caption="Registros Encontrados" 
                    onselectedindexchanged="grvIngresantes_SelectedIndexChanged">
                    <Columns>
                        <asp:CommandField SelectText="Generar" ShowSelectButton="True" />
                        <asp:BoundField DataField="Id_PreMatricula" HeaderText="Id" />
                        <asp:BoundField DataField="COD_ALUMNO" HeaderText="Código" >
                        <ItemStyle HorizontalAlign="Left" />
                        </asp:BoundField>
                        <asp:BoundField DataField="Descripcion" HeaderText="Nombres" >
                        <ItemStyle HorizontalAlign="Left" />
                        </asp:BoundField>
                        <asp:BoundField DataField="DNI" HeaderText="DNI" >
                        <ItemStyle HorizontalAlign="Left" />
                        </asp:BoundField>
                        <asp:BoundField DataField="FECHA_NACIMIENTO" HeaderText="Fecha Nacimiento" >
                        <ItemStyle HorizontalAlign="Right" />
                        </asp:BoundField>
                    </Columns>
                </asp:GridView>
    </td>
    </tr>
    </table>
</asp:Content>
